<template>
  <div id="CustomHome">
    <TopA></TopA>
    <el-row>
      <el-col :span="6">
        <el-menu
          :default-active="this.$router.path"
          router
          unique-opened
          class="menu"
          active-text-color="#B0E0E6"
          :collapse="false"
          :collapse-transition="true"
          style="height: 100%">
          <el-menu-item index="/UpdateCustomInformation">
            <template>
              <i class="el-icon-link"></i>
              <span class="menu-font">修改信息</span>
            </template>
          </el-menu-item>
          <el-menu-item index="/CustomHistoryBuy">
            <template>
              <i class="el-icon-link"></i>
              <span class="menu-font">查看历史购买记录</span>
            </template>
          </el-menu-item>
        </el-menu>
      </el-col>
      <el-col :span="18">
        <div class="show-box">
          <router-view></router-view>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import TopA from "../components/TopA";
export default {
  name: "CustomHome",
  components: {TopA},
  data() {
    return {

    }
  }
}
</script>

<style scoped>
#CustomHome {

}
.menu {
  position: fixed;
  top: 100px;
  width: 300px;
}
.menu-font {
  font-weight: 500;
  font-size: 24px;
}
.icon-size {
  font-size: 24px;
}
.show-box {
  position: relative;
  top: 100px;
  left: 300px;
  padding: 30px;
}
.show-box-font {
  font-size: 30px;
}
</style>
